<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>全局API 路由</title>
    <style>
        ul {
            list-style: none;
            padding: 0;
            /* background-color: black; */
        }
        li {
            margin-bottom: 10px;
            margin-bottom: 20px;
            padding: 5px;
            border-radius: 5px;
            background-color: black;

        }
        a {
            color: white;
            text-decoration: none;
        }
        a:hover {
            color: yellow;
        }
    </style>
</head>
<body>
    <h2>全局API 路由</h2>
    <?php
    $files = scandir('.');
    echo '<ul>';
    foreach ($files as $file) {
        if ($file != '.' && $file != '..') {
            echo '<li><a href="' . $file . '">' . $file . '</a></li>';
        }
    }
    echo '</ul>';
    ?>
</body>
</html>